package com.eonmind.vip.service.impl;

import com.eonmind.common.provider.entity.vip.VipPackage;
import com.eonmind.vip.mapper.VipPackageMapper;
import com.eonmind.vip.service.CommodityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommodityServiceImpl implements CommodityService {

    @Autowired
    private VipPackageMapper vipPackageMapper;

    @Override
    public List<VipPackage> getAllCommodity() {
        return vipPackageMapper.list();
    }
}
